<?php

use Illuminate\Routing\Router;
use Illuminate\Support\Facades\Route;

Route::group([
    'prefix' => 'admin/packageOrder',
    'namespace'     => 'Beerus\\Modules\\PackageOrder\\Controllers',
    'middleware'    => ['web', 'admin'],

], function (Router $router) {
    $router->get('/order', 'PackageOrderController@index');
    $router->get('/order/downExcel', 'PackageOrderController@downExcel');
    $router->get('/order/area', 'PackageOrderController@area')->name('order.area');
    $router->post('/order/saveExcel', 'PackageOrderController@saveExcel');
    $router->get('/addExpress/{id}', 'PackageOrderController@addExpress');
    $router->get('/address/{id}', 'PackageOrderController@address');
    $router->get('/edit', 'PackageOrderController@edit');
    $router->get('/order/edit', 'PackageOrderController@edit');
    $router->post('/express/save', 'PackageOrderController@saveAddress');
    $router->post('/order/save', 'PackageOrderController@save');
    $router->post('/changeOrderInfo', 'PackageOrderController@changeOrderInfo');//订单调整为关闭
    $router->get('/logistics', 'LogisticsController@index');//物流记录表
    $router->get('/logistics/downExcel', 'LogisticsController@downExcel');

});